export interface CreateTableRequestData {
    name: string;
    type: string;
    content: string;
    weight?: string | null;
    keyWord?: string;
}

export interface UpdateTableRequestData {
    id: number;
    name: string;
    type: string;
    content: string;
    weight?: string | null;
    keyWord?: string;
}

export interface GetTableRequestData {
    key: string | null;
    type: string | null;
    page: number;
    size: number;
}

export interface GetTableData {
    id: number;
    name: string;
    type: string;
    action: string;
    weight: string;
    keyWord: string;
    content: string;
}

export type GetTableResponseData = ApiResponseData<{
    content: GetTableData[];
    number: number; // 页码
    size: number; // 页面大小
    totalElements: number; // 总个数
    totalPages: number; // 总页数
}>;
